package com.lori.netshop.util;

import java.util.Random;

public class FilenameUtil {
	/**
	 * 功能：获得唯一的文件名
	 * 
	 */
	public static String getFilename(){
		String filename = System.currentTimeMillis()+"";
		Random random = new Random();
		String str = random.nextInt(999)+"";
		return filename+str;
	}
	public static void main(String[] args) {
		System.out.println(getFilename());
	}
}
